package com.itheima.service.db;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.domain.PmsProduct;
import com.itheima.dto.PmsProductDto;

public interface PmsProductService {
    Page<PmsProduct> getByIdProduct(Integer brandId, String keyword, Integer pageNum, Integer pageSize, Integer productCategoryId, String productSn, Integer publishStatus, Integer verifyStatus);

    Boolean deleteStatus(Integer deleteStatus, Integer[] ids);

    Boolean newStatus(Integer newStatus, Integer[] ids);

    Boolean publishStatus(Integer publishStatus, Integer[] ids);

    Boolean recommendStatus(Integer recommendStatus, Integer[] ids);

    PmsProduct selectById(Integer id);

    void updateById(PmsProduct pmsProduct, Integer id);

    Long save(PmsProduct pmsProduct);
}
